package cn.liuyang.tinyioc.aop;

/**
 * 被代理的对象
 * Created by liuyang on 2018/4/10.
 */
public class TargetSource {

    /** 实现类Impl-将被使用反射来缓存和调用的目标 */
    private Object target;
    private Class targetClass;

    public TargetSource(Object target, Class targetClass) {
        this.target = target;
        this.targetClass = targetClass;
    }

    public Object getTarget() {
        return target;
    }

    public void setTarget(Object target) {
        this.target = target;
    }

    public Class getTargetClass() {
        return targetClass;
    }

    public void setTargetClass(Class targetClass) {
        this.targetClass = targetClass;
    }
}
